home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 2.iso / dist / fw_gnome-libs.idb / usr / freeware / share / idl / desktop-editor.idl.z / desktop-editor.idl
Text File  |  2002-07-08  |  865b  |  37 lines

  1. #ifndef __DESKTOP_EDITOR_IDL__
  2. #define __DESKTOP_EDITOR_IDL__
  3.  
  4. #if defined(__ORBIT_IDL__)
  5. %{
  6. #pragma include_defs desktop-textviewer.h
  7. %}
  8. #pragma inhibit push
  9. #endif
  10.  
  11. #include "desktop-textviewer.idl"
  12.  
  13. #if defined(__ORBIT_IDL__)
  14. #pragma inhibit pop
  15. #endif
  16.  
  17.  
  18. module Desktop {
  19.  
  20.     /* kept this because it looks cleaner (IMHO) when you use this */
  21.     interface EditorFactory : TextViewerFactory {
  22.     };
  23.  
  24.     interface Editor : TextViewer {
  25.         void insert   (in unsigned long      pos,
  26.                        in string             new);
  27.         void delete   (in unsigned long      pos,
  28.                        in unsigned long      charcount);
  29.         short replace (in string             regexp,
  30.                        in string             newstring,
  31.                        in SEEKFROM           whence,
  32.                        in SearchOption       flags) raises (NotFound);
  33.     };
  34. };
  35.  
  36. #endif /* __DESKTOP_EDITOR_IDL__ */
  37.